package cn.kgc.annotion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiJsonProperty {


    String example() default "";

    Class type() default String.class;  //支持string 和 int


    String name();

    String value();

    String dataType();

    boolean required();
}
